package org.NooLab.openNLP.sources;

import java.util.ArrayList;
import java.util.Vector;



public class DornseiffItem {

	String categoryCode="";
	String categoryLabel="";
	String masterWord = "";
	
	ArrayList<String> categoryWords = new ArrayList<String>();
	
	
	public DornseiffItem(){
		
	}
	
	public DornseiffItem( String code, String label){
		categoryCode = code;
		categoryLabel = label ;
	}

	
	// ------------------------------------------------------------------------
	
	public String getCategoryCode() {
		return categoryCode;
	}

	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}

	public String getCategoryLabel() {
		return categoryLabel;
	}

	public void setCategoryLabel(String categoryLabel) {
		this.categoryLabel = categoryLabel;
	}

	public ArrayList<String> getCategoryWords() {
		if (categoryWords==null){
			categoryWords = new ArrayList<String>();
		}
		return categoryWords;
	}

	public void setCategoryWords(ArrayList<String> words) {
		categoryWords.clear();
		categoryWords.addAll( words );
	}


}
